package com.travel.service.impl;

import com.travel.dao.AppUserDAO;
import com.travel.dao.BaseDAO;
import com.travel.pojo.AppUser;
import com.travel.service.AppUserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class AppUserServiceImpl extends BaseServiceImpl<AppUser> implements AppUserService {
    @Autowired
    private AppUserDAO appUserDAO;

    @Override
    public String getSecretKey(String appId) {
        return appUserDAO.getSecretKey(appId);
    }

    @Override
    public BaseDAO getBaseDAO() {
        return appUserDAO;
    }
}
